
<?php if(!empty($result) && $result->result_code == 'SUCCESS'):?>
    <table id="data-load" class="yx-course-info" >
        <tr>
            <td>付款总金额：</td>
            <td><?=$result->total_fee/100?>元</td>
            <td>退款次数：</td>
            <td><?=$result->refund_count?>次</td>
        </tr>
        <tr>
            <td>退款渠道：</td>
            <td><?=$result->refund_channel_0 == 'ORIGINAL'?"原路退款":"退回到余额";?></td>
            <td>退款金额：</td>
            <td><?=$result->refund_fee/100?>元</td>
        </tr>
        <tr>
            <td>退款状态：</td>
            <td><?php
               if($result->refund_status_0 == 'SUCCESS'){
                   echo '退款成功';
               }elseif($result->refund_status_0 == 'FAIL'){
                   echo '退款失败';
               }elseif($result->refund_status_0 == 'PROCESSING'){
                   echo '退款处理中';
               }else{
                   echo '未确定，需要商户原退款单号重新发起';
               }
                ?></td>
            <td>退款账户：</td>
            <td><?=$result->refund_recv_accout_0?></td>
        </tr>
    </table>
<?php endif;?>

